What do you call a brick layer who is good at solving crimes?

Perry Mason